package com.happyfamily.springboot.crowdsourcingplatform.service.guo;

import com.happyfamily.springboot.crowdsourcingplatform.base.result.Results;
import com.happyfamily.springboot.crowdsourcingplatform.dto.UserDto;
import com.happyfamily.springboot.crowdsourcingplatform.model.Need;
import com.happyfamily.springboot.crowdsourcingplatform.model.SysUser;

public interface EmployerAndServiceService
{

	Results<SysUser> getAllEmployers(Integer startPosition, Integer limit);

	String resetPassword(Long uid);

	String changeStates(Long uid,Long pid);

	Results<SysUser> getSpecifyEmployers(String uname,Integer startPosition, Integer limit);

	String getEmployersStates(Long pid);

	Results<SysUser> getServiceProvidersList(Integer startPosition, Integer limit);

	String getServiceProvidersStates(Integer id);

	String changeServiceType(Integer uid,Integer ak);

	Results<SysUser> getSpecifiedServiceProvidersList(String uname,Integer startPosition, Integer limit);

	String chnagePassword(String pass, String account, String oldPass);

	Results<SysUser> getConsultantList(Integer rid1,Integer rid2,Integer startPosition, Integer limit);

	Results<SysUser> getConsultantListByUname(Integer rid1,Integer rid2,String uname, String sid, Integer startPosition, Integer limit);

}
